package com.example.bbs.service.impl;

import com.example.bbs.dao.LoginDao;
import com.example.bbs.dao.impl.LoginDaoImpl;
import com.example.bbs.model.User;
import com.example.bbs.service.LoginServer;

/**
 * @auther: zhangxin
 * @Description:
 */
public class LoginServerImpl implements LoginServer {

    LoginDao longinDao = new LoginDaoImpl();
    @Override
    public User getUserByNameAndPwd(String userName, String userPwd) {
        return longinDao.getUserByNameAndPwd(userName,userPwd);
    }
}
